com.atlassian.jira.rpc.soap.service
Class IssueConstantsServiceImpl

java.lang.Object
  extended by com.atlassian.jira.rpc.soap.service.IssueConstantsServiceImpl
All Implemented Interfaces:
IssueConstantsService

public class IssueConstantsServiceImpl
extends java.lang.Object
implements IssueConstantsService

Handles issue constants and permission checks related to accessing them


Field Summary
private  ConstantsManager constantsManager
           
private  IssueTypeSchemeManager issueTypeSchemeManager
           
private  PermissionManager permissionManager
           
private  ProjectManager projectManager
           
 
Constructor Summary
IssueConstantsServiceImpl(ConstantsManager constantsManager, PermissionManager permissionManager, IssueTypeSchemeManager issueTypeSchemeManager, ProjectManager projectManager)
           
 
Method Summary
private  void confirmUserHasABrowseProjectPermission(User user)
           
private  void confirmUserHasBrowseProjectPermission(User user, Project project)
           
 RemoteIssueType[] getIssueTypes(User user)
           
 RemoteIssueType[] getIssueTypesForProject(User user, java.lang.String projectId)
           
 RemotePriority[] getPriorities(User user)
           
 RemoteResolution[] getResolutions(User user)
           
 RemoteStatus[] getStatuses(User user)
           
 RemoteIssueType[] getSubTaskIssueTypes(User user)
           
 RemoteIssueType[] getSubTaskIssueTypesForProject(User user, java.lang.String projectId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constantsManager

private ConstantsManager constantsManager

permissionManager

private PermissionManager permissionManager

issueTypeSchemeManager

private IssueTypeSchemeManager issueTypeSchemeManager

projectManager

private final ProjectManager projectManager
Constructor Detail

IssueConstantsServiceImpl

public IssueConstantsServiceImpl(ConstantsManager constantsManager,
                                 PermissionManager permissionManager,
                                 IssueTypeSchemeManager issueTypeSchemeManager,
                                 ProjectManager projectManager)
Method Detail

getIssueTypesForProject

public RemoteIssueType[] getIssueTypesForProject(User user,
                                                 java.lang.String projectId)
                                          throws RemotePermissionException
Specified by:
getIssueTypesForProject in interface IssueConstantsService
Throws:
RemotePermissionException

getSubTaskIssueTypesForProject

public RemoteIssueType[] getSubTaskIssueTypesForProject(User user,
                                                        java.lang.String projectId)
                                                 throws RemotePermissionException
Specified by:
getSubTaskIssueTypesForProject in interface IssueConstantsService
Throws:
RemotePermissionException

getIssueTypes

public RemoteIssueType[] getIssueTypes(User user)
                                throws RemotePermissionException
Specified by:
getIssueTypes in interface IssueConstantsService
Throws:
RemotePermissionException

getSubTaskIssueTypes

public RemoteIssueType[] getSubTaskIssueTypes(User user)
                                       throws RemotePermissionException
Specified by:
getSubTaskIssueTypes in interface IssueConstantsService
Throws:
RemotePermissionException

getPriorities

public RemotePriority[] getPriorities(User user)
                               throws RemotePermissionException
Specified by:
getPriorities in interface IssueConstantsService
Throws:
RemotePermissionException

getStatuses

public RemoteStatus[] getStatuses(User user)
                           throws RemotePermissionException
Specified by:
getStatuses in interface IssueConstantsService
Throws:
RemotePermissionException

getResolutions

public RemoteResolution[] getResolutions(User user)
                                  throws RemotePermissionException
Specified by:
getResolutions in interface IssueConstantsService
Throws:
RemotePermissionException

confirmUserHasABrowseProjectPermission

private void confirmUserHasABrowseProjectPermission(User user)
                                             throws RemotePermissionException
Throws:
RemotePermissionException

confirmUserHasBrowseProjectPermission

private void confirmUserHasBrowseProjectPermission(User user,
                                                   Project project)
                                            throws RemotePermissionException
Throws:
RemotePermissionException